before Demo preview