make stack container more stl like