model building from AST started