MoveCoen function needs more work