method of analysis