Try election in hook