implemented sending and receiving of SMS