updated documentation. added constants for input and output format