smex