added a doc string for the sendPush function