small change to make the program more efficient