attach() method-action works