preformance improvements