passing struture