added smack api