updated documentation with proper code syntax