made sending and receiving messages (no save yet)