Some simple examples using ML