finihsed implementation of module