generalize listing functions
notes