New library for sending and receiving functions