flag_pointy created to be able to go backwards