startup to main