fixed output order in documentation
adding more documentation