turned into function, includes "100" as a guess