added functions for times-completed for levels
merged with master