add another detach variant