implemented insert, reverse for typedlist