implemented startsWith