adding in result management for later usage