added a functionality to countdown n times before picking a result