attach selector