formats data loaded