add interface for HashStack