updated documentation rewrote attributes