check for resident if residentFast is undefined