make models global