add package and smex