Renamed the parameters
Fixed constructor