improved the inline docs