moved title string to controller