added walk/run logic, working on attack