cleans up interface for retrieving results