added functionality to get a list of pathways