Is better to move this method to below where it is used.