added public modifier to properties