some improvements in models1d