working attach and detach