odd way to assign a boolean