changed method of interface to from dencode_payload into decode_payload