moved send/read functions, added display functionality