Use 'params' instead of 'array'
Add useful stuff