testing another way to set message type