Add working example of pushMessage code