made the seek code OOP