Added code to create and send puf