corrected indentation in client