put 'class' keys in quotes because reserved word