completed methods, triangle, true false