setup procedure updated