character movement modified