add single threaded execution pattern