pulled title out of data screen function