updates

added new functions for getting levels