reduce to a code

See: codify