Implemented TPredicate and Select