better number check