checked all other examples. close #19