make SMD work