implemented simple load balancing