Fixed 'Looping the triangle and added comment