changed access modificators for some fields