removed .detach() method