main module cleaned, date updated