formatting, data check