turning this from boolean into a number