handles concurrence