minor change to improve speed