modified main for testing movement