creating basic module snippet