small perf. improvement