add params middleware
basically works