implementation simpleStak