level functionality added