cleaned model plotting