another attempt at isPositive