Fixed a bug + Documentation