first refactor: cleaned up div id's and fixed params for titles