added friction and jumps