remove unused if statement
improve documentation
compiled
change candidate data structure + update readme