change variable names and enable multiple movement