Changed from int to boolean arrays