implemented buildscene and createPainting