added contains, addAfter, count