add set message and its supported functions