Initial code to work with

needs the pathway function