integrate with smack