some modifications ij header file