sd is attached to 'self'