added checko for payload