added some methods for parsing empty strings