read module in a elegant way