all steps of datasets demo moved to one line for demo2()