makeRequest method made private