made controller constructors