composer stuff + improved record parsing