Made changes to slave