formatted code extract