added more movements, added inside flag, added more boxes