changed properties from public to private