Added a check for 4 digits