returns results as formatted string, uses MyStack