Code snippet for reproducibility of results