code and equation