first version of MACRO list/stack/queue