updated formatting and troubleshooting