added things in controller #214
fixes master