checks formatting