Parameters calculation works.