added alert when entered value is a number