added helper to get next level