documented code for understanding in future