slight performance tweak