KGW code and block change added