require main helper