fixed jumping and made a lose condition