fixed more standards
added integration method option