Added support for 3 digit prefixes