Moved pd push functionality into go function