added String startsWith function