code formatting for studies