resume as main