can return the struct now and it works!!