poor solution for 270