changed model init to options array