trying to improove performance