optimization by sabdul | SimScale...