started building interface to accept multiple queries