Implemented the selector and find() method