added unimplemented functions for stack operations