wrote obj parser