edited main module