Changing bool to boolean to remove type conflict