forgotten files dec.cpp and minor typos