It is actually possible to have more than one dot. So changing this to allow for 1 or more dots.