updates styling/syntax per kerri's suggestion