stacktype version implemented