smack lib