check for formatting