began adding ParsePrototype function