Added findStack method