changed 'methods' to 'params'