removed sendmessage()