committing code to query for images