split up chain and add lambda