added storage for results