Thank you
Yes i tried the interface solution, but i make something wrong
And when i implement the members i get no output