intrunctions to reproduce the results