solved 259, forgot about backward flow