implement startsWith()