Add attach controller