passing in the messages SDK