Added levelexists() 
Needs testing