Parsing in one class