add constructor to Payload