apply sample