minor result optimization