Working main