post message handler and placeholder function