use startup in the main service