added the basic module code