Added stack based movement