Feature returnstack

Pull request for return stack feature.