by modelling material flow