can we use a boolean here?