move definitions of <value> and <class> to the end
use syntax-rules
move syntax sugars to the tail