Made a public variable private, and made a integer comparision slightly more readable :P