adding some comments about the reference for this implementation