comment
adding processMessage() fn and unit test