attach and button done