Re-added startsWith function