Changes in DO Return type & other misc

Return type is changed as void and value is return in reference object