Implemented level tabbing functaionlity