use structure params