Added second way to do valid number