// small perf optimization