Changed int param to bool