Added Support for multiple results from selects