a simple stack-like backend