now is ok without struct type variable