Added perinstance

Want to check if this will work on pagoda