now I can pass struct via slots and signals