added documentation to reference.