Jinterface for remove function added