added bug_movewithcollisions