Send object pointer instead of value