need to figure out local / global array with titles. titles are added but they just keep adding.