added snake movement