updates to main file to neaten up
updates to pbinds