made currLevel reference