addint references and classfile