changes to make more accurate