scheduler at startup