messy code. Need to figure out why salutations are not updating.