alternate implementation of sample topics without saving state