Refactorize a bit.
Now drm3 and drm4 cannot be used, sorry.