adding type for Params