made fixes from erin's reviews