Updated candidate id to be dynamically generated - still issues remain