Switched some variables to bools instead of ints