Mario helps to reach the green star on each level with a number of breaks below the maximum allowed jumps. Good luck!