Changed bool == true in conditionals to just the bool