trying to do triangles, gives zeroes and ones