added message constructor