AWARE Client code