add startsWith and endsWith