Changed int to bool