Updated simplify1 with less steps