first draft for image search balancer