added code for finding publications