If all possible diagonals from a vertex of an 'n' sided polygon be drawn, then the number of triangles thus formed is