to implement by rbidaisee | SimScale...