updated methods of sending and dereferencing data