end modelling