formatting and enhanced documentation