class is a reserved word, need to wrap it in quotes if using it as a property key in an object