added detach method