flat actions  (refactoring done for all expcept AI)