changed switch options to use enum and changed comment style.