Documentation was added and refined