added some access restrictions