send type in payload