prepare return result