added hyphen functionality