move level_title logic into levels_helper