added triangles(); minor code cleanup