added model. changed window size