implemented some parts of remove method. more to be done, getting late
for office.