small change to improve performance