final candidate script :)