Ignoring maps made and pushing actual query into separate class for reuse.