code formatting; added to parsing