negative number check