Adding in ground checks and (broken) jumping