factor title out of controllers