made struct data private