How to determine which level you are on