working in demo3