separated structure intialization and model setting