add conditional info
remove raise and assert actions
fix demo