added smack lib