removed modname from buildMethod() and implemented cache #2
temporary performance statistics statistics added