added support for several pathways