modified the return process