added pin_params to controller for troubleshooting