small preformance improvement