small efficiency tweak