broken movement logic, need to find a better way to change lines