added support for startswith, endswith, and contains