declaring some fields as private