did sums and changed some parts