demo of bug 313