return modified data from "OnReceive"