Finished basic parser