format checking