main sec