re work by xdemey | SimScale...