Added some code for polypharm