added get and recieve messages but not worked