updated the documentation accordingly