first functional sender.cpp