edited for accuracy and clarity