WIP: implemented search for Sequence class, rework synchronization for Sequence class