introduced double jump and other minor fixes