created struct p with all parameters
Revert "created struct p with all parameters"

This reverts commit cabb947c657efcf7406ebf0d30f52d0fcb3baf0d.
draft for controller