moved patchDaddy into function and added arg validation