combining

putting CXmod and Amod in the same file because there is no need to have
2 separate files