removed non-module code