Գրեք սա: Endogenous and exogenous election timing