should have used boolean property