add inline code formatting and clarify importance of success callback