updated documentation to reflect implementation