implemented revision for first demo