merged first workings