changed parameters code