allocate more space for retval