very simplistic attach method