rename analyze to check