refactor response loco data