trivial minor optimization