adds function to send to self to store application data