Stack implementation for grepple