working on setVisibleModels method