changed access modificators to private