added two triangles and showing them alternatively