declare struct with pointer