Eliminate use of 'getn'