typo fix
feature: added to_struct