Improving sample applications