move this method to an higher class