Changed minimum characters to 2 for validity check