wasn't passing in params