adding QND snippet generation