Ret struct init