added friction and boundaries