used better way to print the module