main stages