basic remove function added