minor optimization.