major additions: adding more parsing functions