added ontroller for analytic model